-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(progressbar): bs4 progressbar wip #2037
Conversation
Codecov Report
@@ Coverage Diff @@
## development #2037 +/- ##
===============================================
+ Coverage 87.16% 87.83% +0.66%
===============================================
Files 85 85
Lines 2259 2375 +116
Branches 292 320 +28
===============================================
+ Hits 1969 2086 +117
- Misses 187 190 +3
+ Partials 103 99 -4
Continue to review full report at Codecov.
|
Tested, looks good |
|
||
<small><em>No animation</em></small> | ||
<progress class="progress progress-success" [value]="dynamic" [max]="100"><b>{{dynamic}}%</b></progress> | ||
<progressbar class="progress progress-success" [value]="dynamic" [max]="100" [type]="'success'"><b>{{dynamic}}%</b></progressbar> |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
src/modal/modal.component.ts
Outdated
@@ -69,8 +69,8 @@ export class ModalDirective implements AfterViewInit, OnDestroy { | |||
protected originalBodyPadding: number = 0; | |||
protected scrollbarWidth: number = 0; | |||
|
|||
protected timerHideModal: number = 0; | |||
protected timerRmBackDrop: number = 0; | |||
protected timerHideModal: any = 0; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
src/progressbar/bar.component.ts
Outdated
@@ -28,6 +29,10 @@ export class BarComponent implements OnInit, OnDestroy { | |||
public get value():number { | |||
return this._value; | |||
} | |||
@HostBinding('style.width.%') get setBarWidth(){ | |||
this.recalculatePercentage(); | |||
return this.isBs3 ? 'auto' : this.percent; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@Input() public value:number; | ||
/** current value of progress bar. Could be a number or array of objects like {"value":15,"type":"info","label":"15 %"} */ | ||
@Input() public set value(value: number | any[]) { | ||
this.stacked = Array.isArray(value); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
No description provided.